package com.example.tobisfirstapp;
import android.graphics.Bitmap;
public class Mosaic {

	private Bitmap src;
	private Bitmap result;
	
	public Mosaic(Bitmap img){
		
		src = img;
		int width = img.getWidth();
		int height = img. getHeight();
		
		int[] pixels = new int[height*width];
		img.getPixels(pixels, 0, width, 0, 0, width,height);
		for(int i =0;i<pixels.length;i++){
			 //Log.d("pixels",pixels[i]+" ");
			 
		}
	}
	
	public void calculate(){
		
	}
	
	
	
	public Bitmap getResult(){
		if(result == null)throw new RuntimeException("No result yet");
		return result;
	}
}
